<extend name="Base/common"/>

<block name="style">
    <link href="__CSS__/event.css" rel="stylesheet" type="text/css"/>
</block>
<block name="body">
		<div class="m-banner am-cf"><img src="__PUBLIC__/images/banner1.jpg"></div>
		
		<div class="container index-project index-project-mp con-color">
            <!--搜索等-->
			<include file="Public/search_e"/>
            <!--搜索等-->
               
            <!--副标题-->
            <div class="path am-padding-1-sm am-padding-horizontal-md am-padding-horizontal-lg am-margin-bottom am-cf">                            
                <!--登录注册/注销登录、管理中心-->
                <div class="subtitle  am-u-sm-12 am-u-md-6 am-u-lg-6 am-padding-0-sm">
				    <strong>V</strong>
				    <h3>志愿项目 / <span>列表</span></h3>
				    <p>
				        志/愿/青/春&nbsp;爱/我/寿/光<br/>
				        OLUNTEER PROJECT
				    </p>
				</div>
                <include file="Public/detail_login"/>
            </div>
            <!--副标题-->
			<div data-am-widget="tabs" class="am-tabs am-tabs-default">
                            
			    <ul class="am-tabs-nav am-cf">
			        <li class="am-active"><a href="[data-tab-panel-0]">招募中</a></li>
			        <li class=""><a href="[data-tab-panel-1]">进行中</a></li>
			        <li class=""><a href="[data-tab-panel-2]">已结束</a></li>
			    </ul>
		     	<div class="am-tabs-bd">
		     		<!--招募中-->
		          	<div data-tab-panel-0 class="am-tab-panel am-active">
		                <ul data-am-widget="gallery" class="am-gallery am-avg-sm-1 am-avg-md-2 am-avg-lg-3 am-gallery-bordered" data-am-gallery="{ pureview: false }" >
				      		<volist name="contents_do" id="vo">
				                <li>
				                    <include file="_eventlist"/>
								</li>
				            </volist>
                        </ul>
                        <div class='pages am-margin-vertical-sm'>{:getPagination($totalPageCount_do,6)}</div>
		          	</div>
		          	<!--招募中-->
		          	<!--进行中-->
		          	<div data-tab-panel-1 class="am-tab-panel ">
		            	<ul data-am-widget="gallery" class="am-gallery am-avg-sm-1 am-avg-md-2 am-avg-lg-3 am-gallery-bordered" data-am-gallery="{ pureview: false }" >
					 		<volist name="contents_doing" id="vo">
				                <li>
				                    <include file="_eventlist"/>
								</li>
				            </volist>
					  	</ul>
					  	<div class='pages am-margin-vertical-sm'>{:getPagination($totalPageCount_doing,6)}</div>
		          	</div>
		          	<!--进行中-->
		          	<!--已结束-->
		          	<div data-tab-panel-2 class="am-tab-panel ">
		           		<ul data-am-widget="gallery" class="am-gallery am-avg-sm-1 am-avg-md-2 am-avg-lg-3 am-gallery-bordered" data-am-gallery="{ pureview: false }" >
				 			<volist name="contents_did" id="vo">
				                <li>
				                    <include file="_eventlist"/>
								</li>
				            </volist>
					  	</ul>
					  	<div class='pages am-margin-vertical-sm'>{:getPagination($totalPageCount_did,6)}</div>
		          </div>
		          <!--已结束-->
		      </div>
		  </div>
          
		</div>



</block>

<block name="script">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <script type="text/javascript" src="__JS__/event.js"></script>
    <script>
        $(function () {
            $('#top_nav >li >a ').mouseenter(function () {
                $('.children_nav').hide();
                $('#children_' + $(this).attr('data')).show();
            });
        })
    </script>
    <script type="text/javascript">
        var SUPPORT_URL = "{:addons_url('Support://Support/doSupport')}";
    </script>
</block>


